To view the configuration for event notification and logging, use the event config show command, as in the following example.
node::>event config showMail From: admin@localhost Mail Server: localhost Local Rotation Schedule: logrotationsched Number Local Logs: 5
Other information is displayed in a detailed view and if other parameters are specified. See the reference page for the command for details.
You can use the event config modify command to modify the cluster-wide configuration for event notification and logging. Attributes you can modify include the mail-from address, the mail-server name, the rotation schedule for log files, and the number of log files kept on each node. At the advanced privilege level and higher, you can also modify whether chatter suppression is used, the maximum number of events in the log before the log rotates, and whether log events are written to the console.
The following example modifies the event-notification configuration to use the mail-from address admin@example.com and the mail server named smtp.example.com. It also turns on chatter suppression, which requires the advanced privilege level.
node::>set -privilege advancednode::*>event config modify -mailfrom admin@example.com -mailserver smtp.example.com -suppression onnode::*>event config showMail From: admin@example.com Mail Server: smtp.example.com Suppression: on Local Rotation Schedule: logrotationsched Max Local Log Size: 5000 Number Local Logs: 5 Console: on